package com.wanxs.mall.ware.dao;

import com.wanxs.mall.common.dao.BaseDao;
import com.wanxs.mall.ware.entity.WareSkuEntity;
import org.apache.ibatis.annotations.Mapper;

/**
 * 商品库存
 *
 * @author wanxs 130001934@qq.com
 * @since 1.0.0 2023-09-04
 */
@Mapper
public interface WareSkuDao extends BaseDao<WareSkuEntity> {

    void addStock(Long skuId, Long wareId, Integer skuNum);

    Long getSkuStock(Long skuId);
}